﻿using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoFlatnessTest.Db
{
    /// <summary>
    /// 项目
    /// </summary>
    [Table("t_CMCC_PlanenessExtraction")]
    public class MesExtraction
    {
        /// <summary>
        /// ID
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 工单
        /// </summary>
        public string WorkOrder { get; set; }
        /// <summary>
        /// 抽测组(年月日)
        /// </summary>
        public string ExtractionGroup { get; set; }
        /// <summary>
        /// 全部数量
        /// </summary>
        public int? CountAll { get; set; }
        /// <summary>
        /// 抽测百分比
        /// </summary>
        public int? ExtractionPer { get; set; }
        /// <summary>
        /// 抽测数量
        /// </summary>
        public int? ExtractionCount { get; set; }
        /// <summary>
        /// 通过(1通过)
        /// </summary>
        public int? IsOk { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
